import java.util.Scanner;

public class lifang {
    public static void main(String[] args){
        Scanner reader = new Scanner(System.in);
        System.out.println("请输入x");
        double x = reader.nextDouble();
        System.out.println("请输入y");
        double y = reader.nextDouble();
        System.out.println("请输入z");
        double z = reader.nextDouble();
        li(x,y,z);
    }
    public static void li(double x,double y,double z){
        double S= (x*x*x)+(y*y*y)+(z*z*z);
        System.out.printf("x,y,z的立方和为：%.2f",S);
    }
}
